// Decompiled by DJ v2.9.9.60 Copyright 2000 Atanas Neshkov  Date: 2004-10-08 16:57:55
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) ansi 
// Source File Name:   CHG21TOD3.java

package nc.ui.pf.changedir;

import nc.vo.pf.change.UserDefineFunction;

public class CHG21TOF3 extends nc.ui.pf.change.VOConversionUI
{

    public CHG21TOF3()
    {
    }

    public String getAfterClassName()
    {
        return "nc.vo.arap.change.VoChangeCG";
    }

public String[] getField() {
    return (
        new String[] {
            "H_dwbm->H_pk_corp",
            "H_lrr->SYSOPERATOR",
           // "H_zyx11->SYSDATE",
            "H_djrq->SYSDATE",            
//            "H_xslxbm->H_cbiztype",
            "B_bzbm->B_ccurrencytypeid",
            "B_jffbje->B_nassisttaxpricemny",
            "B_jffbsj->B_nassisttaxmny",
            "B_wbffbje->B_nassistcurmny",
            "B_cinventoryid->B_cbaseid",
            "B_contractno->B_ccontractcode",
            "B_hbbm->H_cvendorbaseid",
            "B_bbye->B_ntaxpricemny",
            "B_fbhl->B_nexchangeotoarate",
            "B_jfbbje->B_ntaxpricemny",
            "B_ddh->H_vordercode",
            //"B_xmbm2->B_cprojectid",
            "B_pk_jobobjpha->B_cprojectphaseid",
            "B_ybye->B_noriginaltaxpricemny",
            "B_bbhl->B_nexchangeotobrate",
            "B_jfybje->B_noriginaltaxpricemny",
            //"B_chbm_cl->B_cmangid",
            "B_ph->B_csourcebilltype",
            "B_xyzh->B_csourcebillid",
            "B_cksqsh->B_csourcerowid",
            "B_ddlx->B_corderid",
            "B_ddhh->B_corder_bid",
            "B_fbye->B_nassisttaxpricemny",
            "B_deptid->H_cdeptid",
            "B_ywybm->H_cemployeeid",
            "B_hsdj->B_norgnettaxprice",
            "B_jfshl->B_nordernum" ,
            "B_dj->B_noriginalnetprice",
            "H_djlxbm->DESTBILLTYPE",
            "B_jfybwsje->B_noriginalcurmny","B_billdate->SYSDATE",
            "B_wbfbbje->B_nmoney","B_jfybsj->B_noriginaltaxmny",
            "B_seqnum->B_vproducenum","B_dfyhzh->H_caccountbankid",
            "B_jfbbsj->B_ntaxmny","B_sl->B_ntaxrate","B_kslb->B_idiscounttaxtype"});
}

public String[] getFormulas() {
    return (
        new String[] {
        		"H_xslxbm->iif(DESTBUSITYPE==null,H_cbiztype,DESTBUSITYPE)",
        		"H_zyx20->iif(H_pk_defdoc20==null,H_vdef20,H_pk_defdoc20)",
                "H_zyx19->iif(H_pk_defdoc19==null,H_vdef19,H_pk_defdoc19)",
                "H_zyx18->iif(H_pk_defdoc18==null,H_vdef18,H_pk_defdoc18)",
                "H_zyx17->iif(H_pk_defdoc17==null,H_vdef17,H_pk_defdoc17)",
                "H_zyx16->iif(H_pk_defdoc16==null,H_vdef16,H_pk_defdoc16)",
                "H_zyx15->iif(H_pk_defdoc15==null,H_vdef15,H_pk_defdoc15)",
                "H_zyx14->iif(H_pk_defdoc14==null,H_vdef14,H_pk_defdoc14)",
                "H_zyx13->iif(H_pk_defdoc13==null,H_vdef13,H_pk_defdoc13)",
                "H_zyx12->iif(H_pk_defdoc12==null,H_vdef12,H_pk_defdoc12)",
                "H_zyx11->iif(H_pk_defdoc11==null,H_vdef11,H_pk_defdoc11)",
                "H_zyx10->iif(H_pk_defdoc10==null,H_vdef10,H_pk_defdoc10)",
                "H_zyx9->iif(H_pk_defdoc9==null,H_vdef9,H_pk_defdoc9)",
                "H_zyx8->iif(H_pk_defdoc8==null,H_vdef8,H_pk_defdoc8)",
                "H_zyx7->iif(H_pk_defdoc7==null,H_vdef7,H_pk_defdoc7)",
                "H_zyx6->iif(H_pk_defdoc6==null,H_vdef6,H_pk_defdoc6)",
                "H_zyx5->iif(H_pk_defdoc5==null,H_vdef5,H_pk_defdoc5)",
                "H_zyx4->iif(H_pk_defdoc4==null,H_vdef4,H_pk_defdoc4)",
                "H_zyx3->iif(H_pk_defdoc3==null,H_vdef3,H_pk_defdoc3)",
                "H_zyx2->iif(H_pk_defdoc2==null,H_vdef2,H_pk_defdoc2)",
                "H_zyx1->iif(H_pk_defdoc1==null,H_vdef1,H_pk_defdoc1)", 
                "B_zyx20->iif(B_pk_defdoc20==null,B_vdef20,B_pk_defdoc20)",
                "B_zyx19->iif(B_pk_defdoc19==null,B_vdef19,B_pk_defdoc19)",
                "B_zyx18->iif(B_pk_defdoc18==null,B_vdef18,B_pk_defdoc18)",
                "B_zyx17->iif(B_pk_defdoc17==null,B_vdef17,B_pk_defdoc17)",
                "B_zyx16->iif(B_pk_defdoc16==null,B_vdef16,B_pk_defdoc16)",
                "B_zyx15->iif(B_pk_defdoc15==null,B_vdef15,B_pk_defdoc15)",
                "B_zyx14->iif(B_pk_defdoc14==null,B_vdef14,B_pk_defdoc14)",
                "B_zyx13->iif(B_pk_defdoc13==null,B_vdef13,B_pk_defdoc13)",
                "B_zyx12->iif(B_pk_defdoc12==null,B_vdef12,B_pk_defdoc12)",
                "B_zyx11->iif(B_pk_defdoc11==null,B_vdef11,B_pk_defdoc11)",
                "B_zyx10->iif(B_pk_defdoc10==null,B_vdef10,B_pk_defdoc10)",
                "B_zyx9->iif(B_pk_defdoc9==null,B_vdef9,B_pk_defdoc9)",
                "B_zyx8->iif(B_pk_defdoc8==null,B_vdef8,B_pk_defdoc8)",
                "B_zyx7->iif(B_pk_defdoc7==null,B_vdef7,B_pk_defdoc7)",
                "B_zyx6->iif(B_pk_defdoc6==null,B_vdef6,B_pk_defdoc6)",
                "B_zyx5->iif(B_pk_defdoc5==null,B_vdef5,B_pk_defdoc5)",
                "B_zyx4->iif(B_pk_defdoc4==null,B_vdef4,B_pk_defdoc4)",
                "B_zyx3->iif(B_pk_defdoc3==null,B_vdef3,B_pk_defdoc3)",
                "B_zyx2->iif(B_pk_defdoc2==null,B_vdef2,B_pk_defdoc2)",
                "B_zyx1->iif(B_pk_defdoc1==null,B_vdef1,B_pk_defdoc1)",
            "H_prepay->\"Y\"",
            "H_djkjqj->getKJQJ( H_djrq)",
            "H_fj->1",
            "H_djdl->\"fk\"",
            "H_djkjnd->getKJND( H_djrq ) ",
            "H_lybz->\"4\"",
            "H_pzglh->\"1\"",
//            "H_djlxbm->\"D3\"",
            "H_qcbz->\"N\"",
            "H_ywbm->getdjlx( H_pk_corp , H_djlxbm)",
            "B_wldx->\"1\"",
            "B_fx->1",
            "B_jsfsbm->\"21\"",
            "B_old_sys_flag->\"N\"",
            "B_ddhid->B_ddhh",
            "B_jobid->getColValue(bd_jobmngfil,pk_jobbasfil,pk_jobmngfil,B_cprojectid)",
//            "B_sanhu->getColValue(so_freecust,vcustname,cfreecustid,H_cfreecustid)"
            "B_sanhu->H_cfreecustid",
            "H_isselectedpay->1"
           }
            );
    
}

    public String getOtherClassName()
    {
        return null;
    }

    public UserDefineFunction[] getUserDefineFunction()
    {
        try
        {
            UserDefineFunction userdefinefunction = new UserDefineFunction();
            userdefinefunction.setClassName("nc.bs.arap.change.PubchangeBO");
            userdefinefunction.setMethodName("getKJND");
            userdefinefunction.setReturnType(Class.forName("java.lang.String"));
            userdefinefunction.setArgTypes(new Class[] {
                Class.forName("java.lang.String")
            });
            userdefinefunction.setArgNames(new String[] {
                "&d3"
            });
            UserDefineFunction userdefinefunction1 = new UserDefineFunction();
            userdefinefunction1.setClassName("nc.bs.arap.change.PubchangeBO");
            userdefinefunction1.setMethodName("getKJQJ");
            userdefinefunction1.setReturnType(Class.forName("java.lang.String"));
            userdefinefunction1.setArgTypes(new Class[] {
                Class.forName("java.lang.String")
            });
            userdefinefunction1.setArgNames(new String[] {
                "&d3"
            });
            UserDefineFunction userdefinefunction2 = new UserDefineFunction();
            userdefinefunction2.setClassName("nc.bs.arap.change.PubchangeBO");
            userdefinefunction2.setMethodName("getdjlx");
            userdefinefunction2.setReturnType(Class.forName("java.lang.String"));
            userdefinefunction2.setArgTypes(new Class[] {
                Class.forName("java.lang.String"), Class.forName("java.lang.String")
            });
            userdefinefunction2.setArgNames(new String[] {
                "&corp", "&djlxbm"
            });
            UserDefineFunction auserdefinefunction[] = new UserDefineFunction[3];
            auserdefinefunction[0] = userdefinefunction;
            auserdefinefunction[1] = userdefinefunction1;
            auserdefinefunction[2] = userdefinefunction2;
            return auserdefinefunction;
        }
        catch(ClassNotFoundException classnotfoundexception)
        {
            classnotfoundexception.printStackTrace();
        }
        return null;
    }
}